package xq.pug.feign.service.product;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import xq.pug.common.result.R;
import xq.pug.feign.dto.product.DedInventoryFeignReqDTO;

/**
 * @program: xq_pug_alibabacloud_parent
 * @description:
 * @author: Mr.Ren
 * @create: 2023-07-02 21:52
 **/
@FeignClient(value = "product-service")
public interface InventoryServiceFeign {

    @PostMapping("/inventory/ded")
    R<Integer> dedInventory(@RequestBody DedInventoryFeignReqDTO reqDTO);
}
